package com.gress.shop.dao;

import com.gress.shop.bo.MemberRoleRelation;
import com.gress.shop.bo.example.MemberRoleRelationExample;

import java.util.List;

/**
 * Created xiongwen with 2018/4/12 10:16
 * Description:
 */
public interface IMemberRoleRelationDao {


    int countByExample(MemberRoleRelationExample example);

    int deleteByPrimaryKey(String id);

    int insert(MemberRoleRelation record);

    int insertSelective(MemberRoleRelation record);

    List<MemberRoleRelation> selectByExample(MemberRoleRelationExample example);

    List<MemberRoleRelation> selectAll();

    MemberRoleRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(MemberRoleRelation record);

    int updateByPrimaryKey(MemberRoleRelation record);

    MemberRoleRelation selectByMemberId(String email);

    List<MemberRoleRelation> selectByRoleId(String roleId);
}
